package com.example.gateway.filter;

/**
 * @author lee
 */
//@Component
//public class MyGlobalFilter implements GlobalFilter, Ordered {
//    @Override
//    public Mono<Void> filter(ServerWebExchange exchange, GatewayFilterChain chain) {
//        byte[] address = exchange.getRequest().getRemoteAddress().getAddress().getAddress();
//        LoggerUtils.logger(getClass()).info(address.toString());
//        return null;
//    }
//
//    @Override
//    public int getOrder() {
//        return -200;
//    }
//}
